<template>
  <el-container class="is-vertical" style="width: 1440px;margin:0 auto;">
    <Header></Header>
    <el-main>
      <div class="news-container">
        <!--        left -aside -->
        <div class="left-aside">
          <ul>
            <li>
              <nuxt-link :to="{name:'bbs-list-sportType',params:{'sportType':'all'}}" exact>全部话题</nuxt-link>
            <li>
              <nuxt-link :to="{name:'bbs-list-sportType',params:{'sportType':'football'}}" exact>足球</nuxt-link>
            </li>
            <li>
              <nuxt-link :to="{name:'bbs-list-sportType',params:{'sportType':'basketball'}}" exact>篮球</nuxt-link>
            </li>
          </ul>

        </div>
        <!--        left - aside end-->
        <nuxt />
      </div>
    </el-main>
    <Footer></Footer>
  </el-container>
</template>

<script>
  import Header from '~/components/Header.vue'
  import Footer from '~/components/Footer.vue'
  export default {
    name: 'oldBbsLayout',
    components:{
      Header,
      Footer
    }
  }
</script>

<style scoped>

  .el-main{
    padding: 0 27px 0 27px;

  }
  .news-container{
    width: 100%;
  }
  .left-aside{
    /*width: 164px;*/
    float: left;
    /*width: 10%;*/
    width: 13%;
  }
  .left-aside ul {
    margin: 0;
    padding:0;
    list-style: none;
  }
  .left-aside ul li {
    height: 80px;
    padding-top: 20px;
    border-bottom: 1px solid #979797;;
  }
  .left-aside ul li a{
    display: block;
    height: 60px;
    line-height: 60px;
    font-family: PingFangSC-Regular;
    /*font-size: 26px;*/
    font-size: 18px;
    color: #333333;
    text-align: center;
  }
  .left-aside ul li a:hover{
    background: #58A4ED;
    border-radius: 8px;
    color: #FFFFFF;
  }

  .nuxt-link-active{
    background: #58A4ED;
    border-radius: 8px;
    color: #FFFFFF !important;
  }
</style>
